
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
            <h3><i class="fa fa-angle-right"></i> 新闻编辑</h3>
            
            <!-- BASIC FORM ELELEMNTS -->
            <div class="row mt">
                <div class="col-lg-12">
                  <div class="form-panel">

                      <!-- 新闻表单开始-->  
                      <form class="form-horizontal style-form" action="" method="post" enctype="multipart/form-data">
                          <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">新闻标题</label>
                              <div class="col-sm-10">
                                  <input type="text" name="title" class="form-control" placeholder="请输入标题" value="<?php echo $data['title']?>">
                              </div>
                          </div>
                          <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">新闻类型</label>
                              <div class="col-sm-10">
                                  <input type="text" name="type" class="form-control" placeholder="请输入新闻类型" value="<?php echo $data['type']?>">
                              </div>
                          </div>
                          <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">新闻图片</label>
                              <div class="col-sm-5">
                                  <input type="text" name="newsurl" class="form-control round-form" id="newsurl" style="width: 400px" value="<?php echo $data['url']?>">
                                  <!-- 图片上传表单 -->
                                  <div id="jiazai">
                                  <iframe  name="bubian" style="display:none;"></iframe>
                                <iframe src="/cms/protected/view/admin/news/upload.html" scrolling="No" topmargin="0" width="500" height="30" marginwidth="0" marginheight="0" frameborder="0" align="center"  name="ifrmname" id="ifrmid"></iframe><div id="success" style="display: none">上传成功</div>
                                </div>
                              </div>
                          </div>
                          <div class="form-group">
                              <label class="col-sm-2 col-sm-2 control-label">新闻作者</label>
                              <div class="col-sm-10">
                                  <input type="text" class="form-control" placeholder="请输入作者" disabled value="<?php echo $data['author']?>">
                              </div>
                          </div>
                          
                          <!--  添加新闻内容 -->
                          <div class="form-group">
                            <label type="submit" class="col-sm-2 col-sm-2 control-label">新闻内容</label>
                         <div class="col-sm-10">
                            <textarea name="content" row="10" cols="40"><?php echo $data['content']?>
                            </textarea>
                          
                          </div>
                          </div>

                          <div class="form-group">
                          <div class="col-sm-2 col-sm-2 control-label">
                            <button type="submit" class="btn btn-danger">提交</button>
                          
                          </div>
                          </div>

                      </form>
                      <!-- 表单结束-->   
                  </div>
                </div><!-- col-lg-12-->         
            </div><!-- /row -->
            
    </section><! --/wrapper -->
      </section><!-- /MAIN CONTENT -->

      <!--main content end-->
